package com.hscm.boss.mvc.model.from.product;


import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class PayProductFrom {
    @NotNull(message = "指定支付产品的编码不能为空")
    @Size(min = 5,max = 30,message = "指定支付产品的编码数量在{min}和{max}之间")
    private String productCode;

    @NotNull(message = "指定支付产品的名称不能为空")
    @Size(min = 2,max = 50,message = "指定支付产品的名称字符在{min}和{max}之间")
    private  String  productName;

}
